import { IsNotEmpty } from 'class-validator'

export class CreateOrderDto {
  @IsNotEmpty({ message: '商品不能为空' })
  itemId: string

  @IsNotEmpty({ message: '地址不能为空' })
  addressId: string
}
